package com.wsoft.dc.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.wsoft.entity.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

import java.time.LocalDateTime;

/**
 * <p>
 * 待办阅读状态
 * </p>
 *
 * @author Z001
 * @since 2024年12月17日 16:17:47
 */
@Getter
@Setter
@TableName("dc_business_read")
@Schema(name = "DcBusinessReadEntity", description = "待办阅读状态")
public class DcBusinessReadEntity extends BaseEntity {

    @TableField("config_id")
    private Long configId;

    @Schema(description = "唯一值(json格式)")
    @TableField("`key`")
    private String key;

    @Schema(description = "用户id")
    @TableField("member_id")
    private Long memberId;

    @Schema(description = "阅读状态（0未读，1已读）")
    @TableField("read_flag")
    private Integer readFlag;

    @Schema(description = "阅读时间")
    @TableField("read_time")
    private LocalDateTime readTime;
}
